/* 全局样式 */
.body {
  background-color: #f8f8f8;
  min-height: 100vh;
  font-family: "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

/* 导航栏 */
.navBar {
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* 标签页 */
.tabs {
  --rv-tabs-nav-background-color: #fff;
  --rv-tab-active-text-color: #ddae78;
  --rv-tab-text-color: #666;
  --rv-tab-font-size: 14px;
  position: sticky;
  top: 46px;
  z-index: 1;
}

.tabContent {
  padding: 12px;
}

/* 订单卡片 */
.order_box {
  background: white;
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease;
}

.order_box:active {
  transform: scale(0.98);
}

/* 订单编号 */
.order_num {
  padding: 12px 16px;
  font-size: 13px;
  color: #999;
  border-bottom: 1px solid #f0f0f0;
}

/* 订单内容 */
.order_content {
  padding: 16px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #f0f0f0;
}

/* 订单图片 */
.order_pic img {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  object-fit: cover;
  margin-right: 12px;
}

/* 订单标题 */
.order_name {
  flex: 1;
  font-size: 15px;
  color: #333;
  line-height: 1.4;
  padding-right: 10px;
}

/* 订单状态 */
.order_state {
  color: #ddae78;
  font-size: 14px;
  font-weight: 500;
}

/* 底部订单价格和操作按钮 */
.order_bottom {
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.order_price {
  font-size: 16px;
}

/* 按钮容器 */
.orderStateBtn {
  display: flex;
  gap: 10px;
}

/* 取消按钮样式 */
.order_cancel {
  border: 1px solid #d9d9d9;
  padding: 6px 12px;
  font-size: 13px;
  color: #666;
  background: #fff;
}

.order_cancel:active {
  background-color: #f7f7f7;
}

/* 付款按钮样式 */
.order_pay {
  border: 1px solid #ddae78;
  padding: 6px 12px;
  font-size: 13px;
  color: #ddae78;
  background: #fff;
}

.order_pay:active {
  background-color: rgba(221, 174, 120, 0.1);
}

/* 暂无订单 */
.no_orders {
  background: white;
  padding: 40px 20px;
  text-align: center;
  border-radius: 12px;
  color: #999;
  font-size: 14px;
}

.no_orders:before {
  content: "📦";
  display: block;
  font-size: 40px;
  margin-bottom: 10px;
}

/* 响应式调整 */
@media (max-width: 375px) {
  .order_pic img {
    width: 70px;
    height: 70px;
  }

  .order_name {
    font-size: 14px;
  }

  .order_state {
    font-size: 13px;
  }
}
